Payment methods
Create payment method
Import an existing customer payment method from a connected payment provider.
POST
Create payment method
Authorizations
Body
application/json
ID of the payment method on the provider's side.
- adyen: recurring detail reference of a token stored for the customer.
- airwallex: payment consent ID (
cst_...). - gocardless: mandate ID (
MD...). - mollie: mandate ID (
mdt_...). - paypal: active billing agreement ID (
B-...) or vault payment token ID. - stripe: payment method ID (
pm_...).
Response
- Card
- Card (errored)
- Direct Debit
- Direct Debit (errored)
- Stripe Link
- Stripe Link (errored)
- PayPal
- PayPal (errored)
Payment method type.
card: Credit or debit cardapple_pay: Apple Paygoogle_pay: Google Paydirect_debit_sepa: SEPA Direct Debitdirect_debit_ach: ACH Direct Debitdirect_debit_bacs: Bacs Direct Debitstripe_link: Stripe Linkpaypal: PayPal
Available options:
card, apple_pay, google_pay Example:
"card"
Create payment method

